<%-- 
    Document   : home
    Created on : Aug 28, 2011, 8:02:42 PM
    Author     : HIEP
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>East2West Tours and Travels</title>
        <link rel="shortcut icon" href="../images/con_address.png" type="image/x-icon" />
        <link rel="stylesheet" type="text/css" href="../css/tripoli.simple.css" media="screen, projection, print" />
        <link rel="stylesheet" type="text/css" href="../css/layout.css" media="screen, projection, print" />
        <script type="text/javascript" src="../js/datetimepicker_css.js"></script>
        <link rel="shortcut icon" href="images/con_address.png" type="image/x-icon" />
        <link rel="stylesheet" type="text/css" href="css/tripoli.simple.css" media="screen, projection, print" />
        <link rel="stylesheet" type="text/css" href="css/layout.css" media="screen, projection, print" />
        <script type="text/javascript" src="js/datetimepicker_css.js"></script>
    </head>
    <body>
        <c:if test="${user == null}">
            <jsp:forward page="../login.jsp"></jsp:forward>
        </c:if>
        <!-- Header -->
        <jsp:include page="header.jsp"/>
        <!-- /Header -->
        <!-- Global -->
        <div id="page-content">
            <div class="container content">
                <!-- Left Menu -->
                <jsp:include page="menu.jsp"/>
                <!-- /Left Menu -->
                <!-- Content -->
                <%
                    String option = request.getParameter("option");
                    if (option == null || option.equals("home")) {
                %>
                <jsp:include page="content.jsp"></jsp:include>

                <%                                        } else if (option.equals("packageTourBooking")) {
                %>
                <jsp:include page="packageTourBooking.jsp"></jsp:include>
                <%                                        } else if (option.equals("carBooking")) {
                %>
                <jsp:include page="carBooking.jsp"></jsp:include>
                <%                                        } else if (option.equals("packageTourManage")) {
                %>
                <jsp:include page="packageTourManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("carManage")) {
                %>
                <jsp:include page="carManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("tourTypeManage")) {
                %>
                <jsp:include page="tourTypeManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("foodManage")) {
                %>
                <jsp:include page="foodManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("locationManage")) {
                %>
                <jsp:include page="locationManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("carModelManage")) {
                %>
                <jsp:include page="carModelManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("carTypeManage")) {
                %>
                <jsp:include page="carTypeManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("hotelManage")) {
                %>
                <jsp:include page="hotelManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("flightManage")) {
                %>
                <jsp:include page="flightManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("userManage")) {
                %>
                <jsp:include page="userManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("contactManage")) {
                %>
                <jsp:include page="contactManage.jsp"></jsp:include>
                <%                                        } else if (option.equals("editUser")) {
                %>
                <jsp:include page="editUser.jsp"></jsp:include>
                <%                                        } else if (option.equals("flightEdit")) {
                %>
                <jsp:include page="flightEdit.jsp"></jsp:include>
                <%                                        } else if (option.equals("hotelEdit")) {
                %>
                <jsp:include page="hotelEdit.jsp"></jsp:include>
                <%                                        } else if (option.equals("carEdit")) {
                %>
                <jsp:include page="carEdit.jsp"></jsp:include>
                <%                                        } else if (option.equals("tourEdit")) {
                %>
                <jsp:include page="packageTourEdit.jsp"></jsp:include>
                <%                                        } else if (option.equals("tourBookingDetails")) {
                %>
                <jsp:include page="tourBookingDetails.jsp"></jsp:include>
                <%                                        }else if (option.equals("carBookingDetails")) {
                %>
                <jsp:include page="carBookingDetails.jsp"></jsp:include>
                <%                                        } else if (option.equals("carAnalysis")) {
                %>
                <jsp:include page="carAnalysis.jsp"></jsp:include>
                <%                                        }else if (option.equals("tourAnalysis")) {
                %>
                <jsp:include page="tourAnalysis.jsp"></jsp:include>
                <%                                        } else if (option.equals("editRole")) {
                %>
                <jsp:include page="userEdit.jsp"></jsp:include>
                <%                                        }
                %> 
                <!-- /Content -->
            </div>
        </div>
        <div id="footer-admin"> 
            <div class="copyright">Copyright &copy; 2011 innovation</div>
        </div>
    </body>
</html>
